home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hardcore Visual Basic 5.0 (2nd Edition)
/
Hardcore Visual Basic 5.0 - Second Edition (1997)(Microsoft Press).iso
/
Code
/
Goodies
/
NAMESP~1
/
DDTREE4.FR_
/
DDTREE4.FR
Wrap
Text File
|
1997-06-04
|
4KB
|
126 lines
VERSION 5.00
Object = "{688EB628-7DA2-11D0-95F0-0020AF07755A}#1.1#0"; "awddtree.ocx"
Begin VB.Form frmSample4
ClientHeight = 5325
ClientLeft = 1755
ClientTop = 1620
ClientWidth = 7785
ControlBox = 0 'False
LinkTopic = "Form1"
MDIChild = -1 'True
PaletteMode = 1 'UseZOrder
ScaleHeight = 5325
ScaleWidth = 7785
WindowState = 2 'Maximized
Begin VB.FileListBox File1
Height = 2040
Left = 300
TabIndex = 7
Top = 2880
Width = 4755
End
Begin VB.DirListBox Dir1
Height = 2955
Left = 5280
TabIndex = 3
Top = 2160
Width = 2175
End
Begin VB.TextBox Text1
BackColor = &H8000000F&
Height = 1275
Left = 300
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 5
Text = "DDTree4.frx":0000
Top = 420
Width = 7155
End
Begin AWDDTREE.DDTree DDTree1
Height = 330
Left = 300
TabIndex = 1
Top = 2160
Width = 4815
_ExtentX = 8493
_ExtentY = 582
ControlMode = 2
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label1
Caption = "&FileListBox:"
Height = 195
Index = 3
Left = 300
TabIndex = 8
Top = 2640
Width = 1215
End
Begin VB.Label lblPath
Height = 195
Left = 1560
TabIndex = 6
Top = 1920
Width = 3495
End
Begin VB.Label Label1
Caption = "&DirListBox:"
Height = 195
Index = 0
Left = 5280
TabIndex = 2
Top = 1920
Width = 1635
End
Begin VB.Label Label1
Caption = "DropDown&Tree:"
Height = 195
Index = 1
Left = 300
TabIndex = 0
Top = 1920
Width = 1215
End
Begin VB.Label Label1
Caption = "Browsing Drives and Parent Directories:"
Height = 195
Index = 2
Left = 300
TabIndex = 4
Top = 180
Width = 4695
End
End
Attribute VB_Name = "frmSample4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub DDTree1_Click()
On Error Resume Next
Dir1.Path = DDTree1.Path
lblPath.Caption = DDTree1.Path
End Sub
Private Sub Dir1_Change()
DDTree1.Path = Dir1.Path
lblPath.Caption = DDTree1.Path
File1.Path = Dir1.Path
End Sub
Private Sub Form_Load()
Call Dir1_Change
End Sub